//
//  QCWKWebViewController.h
//  KDFDApp
//
//  Created by haoran on 17/4/28.
//  Copyright © 2017年 cailiang. All rights reserved.
//

#import "FQWKWebView.h"
#import "FQWKWebViewJSHanlder.h"
#import "FQBaseWKWebViewNavigation.h"
@interface FQBaseWKWebViewController : UIViewController

@property (nonatomic, strong)FQWKWebView *topWebView;
//保存的网址链接
@property (nonatomic, copy) NSString *URLString;

@property (nonatomic, retain) UIBarButtonItem *closeItem;
@property (nonatomic, retain) UIBarButtonItem *backItem;

@property (nonatomic, strong) FQBaseWKWebViewNavigation *navDelegate;

@property (nonatomic, strong) FQWKWebViewJSHanlder *jsHandler;
/**是否隐藏Tab*/
@property (nonatomic, copy) NSString *tabhidden;
@property (nonatomic, copy) NSString *navColor;


///**
// 增加导航栏按钮
// */
//- (void)addNavBackItem;

/**
 加载纯外部链接网页
 
 @param string URL地址
 */
- (void)loadWebURLSring:(NSString *)string;

/**
 加载本地网页
 
 @param string 本地HTML文件名
 */
- (void)loadWebHTMLSring:(NSString *)string;

/**
 返回按钮点击事件

 */
- (void)backAction:(id)sender;

/**
 关闭按钮点击事件

 */
- (void)closeAction:(id)sender;

@end
